]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ScreenShield: reduce curtain sliding time to 0.5 seconds
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 16 Aug 2012 23:16:20 +0000 (01:16 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 16 Aug 2012 23:32:02 +0000 (01:32 +0200)
Current time is too long, 0.5 was proved to be more effective
in user testing.

https://bugzilla.gnome.org/show_bug.cgi?id=681143

js/ui/screenShield.js

index 5e294c210fab429647473c5c31cab8f7914f6089..f375417692593f768b7fe4fe44da77fafcf96ac5 100644 (file)
@@ -18,7 +18,7 @@ const Tweener = imports.ui.tweener;
 const SCREENSAVER_SCHEMA = 'org.gnome.desktop.screensaver';
 const LOCK_ENABLED_KEY = 'lock-enabled';
 
-const CURTAIN_SLIDE_TIME = 0.8;
+const CURTAIN_SLIDE_TIME = 0.5;
 // fraction of screen height the arrow must reach before completing
 // the slide up automatically
 const ARROW_DRAG_TRESHOLD = 0.1;